package com.xxh.demo2;

public class StaticProxy  implements Game{
    Doom doom;

    public StaticProxy(Doom doom) {
        this.doom = doom;
    }


    @Override
    public void play() {
        doom.play();
    }
}
